from django.contrib import admin
from .models import Banner, Declaration
# Register your models here.

class BannerAdmin(admin.ModelAdmin):
    pass

class DeclarationAdmin(admin.ModelAdmin):
    class Media:
        js = (
            '/static/kindeditor-4.1.10/kindeditor-min.js',
            '/static/kindeditor-4.1.10/lang/zh_CN.js',
            '/static/kindeditor-4.1.10/other_declaration_config.js',
        )


admin.site.register(Banner, BannerAdmin)
admin.site.register(Declaration, DeclarationAdmin)